import request from "@/utils/request";

export function getEquipmentLevelByPage(query) {
  return request({
    url: `/system/equipmentLevel/getEquipmentLevelByPage`,
    method: "post",
    data: query,
  });
}

// 增加流程模型

export function addEquipmentLevel(query) {
  return request({
    url: `/system/equipmentLevel/addEquipmentLevel`,
    method: "post",
    data: query,
  });
}
/**
 *
 * @param {*} query
 * @returns
 */
export function delEquipmentLevel(query) {
  return request({
    url: `/system/equipmentLevel/delEquipmentLevel`,
    method: "post",
    data: query,
  });
}

export function updateEquipmentLevel(query) {
  return request({
    url: `/system/equipmentLevel/updateEquipmentLevel`,
    method: "post",
    data: query,
  });
}
